package com.tea.room.dao.tea;

import java.util.List;
import java.util.Map;

import com.tea.room.dao.BaseDao;
import com.tea.room.model.tea.TeaOrder;

public interface TeaOrderDao extends BaseDao<TeaOrder> {

    /**
     * 查询订单
     */
    List<TeaOrder>  queryOrder();
    
    /**
     * 查询订单
     */
    List<TeaOrder>  querySatrtOrder();
    
    /**
     * 查询订单
     */
    List<TeaOrder> queryOrderByOpenid(TeaOrder o);
    
    /**
     * 更新订单的openid
     */
    void updateOpenId(TeaOrder o);
    
    /**
     * 分页查询
     * @return
     */
    List<TeaOrder> queryOrderByLimit(Map<String, Object> map);
}
